<?php
	switch($_POST['AJAXPost']) {
		case 'deletePicture': 
				if (file_exists($_POST['fileName'])) {
					unlink($_POST['fileName']);
				}
			break;
		case 'deleteAccount': 
					$PI->deletePersonalInformation($_POST['userID']);
			break;
	}
?>